/*
 * @Author: 何 海深 813936564@qq.com
 * @Date: 2023-12-07 16:55:25
 * @LastEditors: 何 海深 813936564@qq.com
 * @LastEditTime: 2023-12-07 21:01:58
 * @FilePath: \gq-one-map-fornt-end\src\hooks\pageUserInfo\index.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { computed } from 'vue'
import stores from '@/stores/index'
const pageUserInfoHooks = () => {
  const userInfo = computed(() => {
    const info = stores.state.value.common.userInfo
    return info
  })
  return { userInfo }
}
export default pageUserInfoHooks
